/* 全局样式 - 苹果液态玻璃效果 */
:root {
    --primary-color: #007AFF;
    --secondary-color: #6c757d;
    --success-color: #34C759;
    --danger-color: #FF3B30;
    --warning-color: #FF9500;
    --info-color: #5AC8FA;
    --light-color: #F2F2F7;
    --dark-color: #1C1C1E;
    
    /* 文字颜色变量 */
    --text-primary: #1C1C1E;
    --text-secondary: #6c757d;
    --text-muted: #95a5a6;
    
    /* 液态玻璃效果变量 */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --glass-blur: blur(20px);
    --glass-blur-light: blur(10px);
    --glass-blur-heavy: blur(40px);
    
    /* 渐变背景 */
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-secondary: linear-gradient(135deg, #8E8E93 0%, #636366 100%);
    --gradient-success: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    --gradient-warning: linear-gradient(135deg, #FF9500 0%, #FF9F0A 100%);
    --gradient-danger: linear-gradient(135deg, #FF3B30 0%, #FF453A 100%);
    --gradient-info: linear-gradient(135deg, #5AC8FA 0%, #64D2FF 100%);
    
    /* 动态背景渐变 */
    --bg-gradient-1: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4, #FFEAA7);
    --bg-gradient-2: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe);
    --bg-gradient-3: linear-gradient(45deg, #a8edea, #fed6e3, #ffecd2, #fcb69f, #ff9a9e);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 动态背景 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient-1);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: #1C1C1E;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 液态玻璃导航栏 */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
    padding: 1rem 0;
    z-index: 1050;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin: 0 1rem;
    margin-top: 1rem;
    position: relative;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1C1C1E !important;
    text-decoration: none;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1C1C1E !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.navbar-brand:hover::before {
    left: 100%;
}

.navbar-nav .nav-link {
    color: #1C1C1E !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-blur-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link.active {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.navbar-brand .fw-bold {
    color: #1C1C1E;
    text-shadow: 0 1px 8px rgba(0,122,255,0.2);
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
}

[data-theme="dark"] .navbar-brand .fw-bold {
    color: #FFFFFF !important;
    text-shadow: 0 0 8px rgba(0,122,255,0.5);
    font-weight: 800;
    font-size: 1.25rem;
}

/* 主要内容区域 */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 液态玻璃消息提示 */
.messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

.alert {
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    margin-bottom: 1rem;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* 液态玻璃卡片 */
.card {
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #1C1C1E;
    border: 1px solid var(--glass-border);
    border-bottom: 2px solid var(--glass-border);
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.card-header h5 {
    position: relative;
    z-index: 1;
}

.card-body {
    padding: 2rem;
}

/* 液态玻璃统计卡片 */
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    border-radius: var(--border-radius);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card .icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 20px;
}

.stat-card .icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .icon {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.stat-card:hover .icon::after {
    transform: rotate(45deg) translateX(100%);
}

/* 不同统计卡片的图标颜色变体 */
.stat-card:nth-child(1) .icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
}

.stat-card:nth-child(2) .icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 32px rgba(245, 87, 108, 0.4);
}

.stat-card:nth-child(3) .icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.4);
}

.stat-card:nth-child(1):hover .icon {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.stat-card:nth-child(2):hover .icon {
    box-shadow: 0 12px 40px rgba(245, 87, 108, 0.6);
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.9) 0%, rgba(245, 87, 108, 0.9) 100%);
}

.stat-card:nth-child(3):hover .icon {
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.6);
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.9) 0%, rgba(0, 242, 254, 0.9) 100%);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-label {
    color: #6C6C70;
    font-weight: 500;
    font-size: 1.1rem;
}

/* 液态玻璃按钮 */
.btn {
    background: var(--glass-bg) !important;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border) !important;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    color: #1C1C1E !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    color: #1C1C1E !important;
}

.btn-success {
    color: #1C1C1E !important;
}

.btn-warning {
    color: #1C1C1E !important;
}

.btn-danger {
    color: #1C1C1E !important;
}

.btn-info {
    color: #1C1C1E !important;
}

/* 液态玻璃表格 */
.table {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.table thead th {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #1C1C1E;
    border: 1px solid var(--glass-border);
    font-weight: 600;
    padding: 1.25rem 1rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.table thead th::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.table thead th {
    position: relative;
    z-index: 1;
}

.table tbody td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    color: #1C1C1E;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

/* 液态玻璃表单 */
.form-control, .form-select {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
    transition: var(--transition);
    font-size: 1rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    color: #1C1C1E;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
    background: rgba(255, 255, 255, 0.3);
}

.form-label {
    font-weight: 600;
    color: #1C1C1E;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* 液态玻璃徽章 */
.badge {
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

.badge.badge-secondary {
    background: rgba(108, 117, 125, 0.2) !important;
    color: #6C6C70 !important;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.badge-primary {
    background: rgba(0, 122, 255, 0.2) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(0, 122, 255, 0.3);
}

.badge-danger {
    background: rgba(255, 59, 48, 0.2) !important;
    color: var(--danger-color) !important;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.badge-warning {
    background: rgba(255, 149, 0, 0.2) !important;
    color: var(--warning-color) !important;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.badge-success {
    background: rgba(52, 199, 89, 0.2) !important;
    color: var(--success-color) !important;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.badge-info {
    background: rgba(90, 200, 250, 0.2) !important;
    color: var(--info-color) !important;
    border: 1px solid rgba(90, 200, 250, 0.3);
}

/* 液态玻璃进度条 */
.progress {
    height: 0.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
}

.progress-bar {
    border-radius: 1rem;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 进度条颜色变体 */
.progress-bar.bg-success {
    background: rgba(52, 199, 89, 0.3) !important;
    border-color: rgba(52, 199, 89, 0.4) !important;
}

.progress-bar.bg-danger {
    background: rgba(255, 59, 48, 0.3) !important;
    border-color: rgba(255, 59, 48, 0.4) !important;
}

.progress-bar.bg-warning {
    background: rgba(255, 149, 0, 0.3) !important;
    border-color: rgba(255, 149, 0, 0.4) !important;
}

.progress-bar.bg-info {
    background: rgba(90, 200, 250, 0.3) !important;
    border-color: rgba(90, 200, 250, 0.4) !important;
}

.progress-bar.bg-primary {
    background: rgba(0, 122, 255, 0.3) !important;
    border-color: rgba(0, 122, 255, 0.4) !important;
}

/* 液态玻璃页脚 */
.footer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    color: #1C1C1E;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: 0 1rem;
    margin-top: 2rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 2;
}

/* 液态玻璃模态框 */
.modal-content {
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: 1px solid var(--glass-border);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 1.5rem 2rem;
}

.modal-footer {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
}

/* 液态玻璃下拉菜单 */
.dropdown-menu {
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    padding: 0.5rem 0;
    z-index: 1055 !important;
    min-width: 200px;
    margin-top: 0.5rem;
    animation: fadeInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu.show {
    z-index: 9999 !important;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    color: #1C1C1E;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
}

/* 液态玻璃空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6C6C70;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    margin: 2rem 0;
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    color: var(--primary-color);
}

.empty-state h4 {
    margin-bottom: 1rem;
    color: #1C1C1E;
    font-weight: 600;
}

.empty-state p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 液态玻璃滚动条 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* 液态玻璃工具提示 */
.tooltip {
    font-size: 0.9rem;
}

.tooltip-inner {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: #1C1C1E;
    box-shadow: var(--glass-shadow);
}

/* 液态玻璃加载动画 */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 液态玻璃动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 0.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .stat-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar {
        margin: 0 0.5rem;
        margin-top: 0.5rem;
    }
    
    .footer {
        margin: 0 0.5rem;
        margin-top: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* 工具提示样式 */
.tooltip {
    font-size: 0.875rem;
}

/* 模态框样式 */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-footer {
    border-top: none;
    padding: 1rem 1.5rem;
}

/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    z-index: 1055 !important;
}

/* 确保下拉菜单在所有元素之上 */
.dropdown-menu.show {
    z-index: 9999 !important;
}

/* 修复卡片和表格的overflow可能影响下拉菜单的问题 */
.card, .table, .stat-card {
    overflow: visible !important;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--secondary-color);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* 暗黑模式优化样式 */
[data-theme="dark"] {
    /* 改善文字对比度 */
    --text-primary: #ffffff;
    --text-secondary: #bdc3c7;
    --text-muted: #95a5a6;
    
    /* 改善背景色 */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    
    /* 改善表格样式 */
    --table-bg: #2d2d2d;
    --table-border: #404040;
    --table-hover: #3a3a3a;
    
    /* 暗黑模式液态玻璃效果 */
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --glass-blur: blur(20px);
    --glass-blur-light: blur(10px);
    --glass-blur-heavy: blur(40px);
    
    /* 暗黑模式动态背景 */
    --bg-gradient-1: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460, #533483, #2d1b69);
    --bg-gradient-2: linear-gradient(45deg, #0f0f23, #1a1a2e, #16213e, #0f3460, #533483);
    --bg-gradient-3: linear-gradient(45deg, #2d1b69, #533483, #0f3460, #16213e, #1a1a2e);
}

/* 暗黑模式下的文字颜色优化 */
[data-theme="dark"] .text-muted {
    color: #95a5a6 !important;
}

/* 暗黑模式下的表单提示文字 */
[data-theme="dark"] .form-text {
    color: #95a5a6 !important;
}

[data-theme="dark"] .text-secondary {
    color: #bdc3c7 !important;
}

[data-theme="dark"] .text-dark {
    color: #ffffff !important;
}

[data-theme="dark"] .text-light {
    color: #2c3e50 !important;
}

/* 暗黑模式下的液态玻璃导航栏 */
[data-theme="dark"] .navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .navbar-brand {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .navbar-nav .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar-nav .nav-link:hover {
    color: #74b9ff !important;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .navbar-nav .nav-link.active {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
}

/* 暗黑模式下的液态玻璃卡片 */
[data-theme="dark"] .card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    color: #ffffff !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .card-header {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    color: #ffffff !important;
    border: 1px solid var(--glass-border) !important;
    border-bottom: 2px solid var(--glass-border) !important;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .card-header::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

/* 暗黑模式下的液态玻璃统计卡片 */
[data-theme="dark"] .stat-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    color: #ffffff !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .stat-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .stat-card .stat-number {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-card .stat-label {
    color: #bdc3c7 !important;
}

/* 暗黑模式下的统计卡片图标 */
[data-theme="dark"] .stat-card .icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .stat-card .icon::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
}

[data-theme="dark"] .stat-card:nth-child(1) .icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .stat-card:nth-child(2) .icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 32px rgba(245, 87, 108, 0.5);
}

[data-theme="dark"] .stat-card:nth-child(3) .icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.5);
}

[data-theme="dark"] .stat-card:nth-child(1):hover .icon {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.7);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
}

[data-theme="dark"] .stat-card:nth-child(2):hover .icon {
    box-shadow: 0 12px 40px rgba(245, 87, 108, 0.7);
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.95) 0%, rgba(245, 87, 108, 0.95) 100%);
}

[data-theme="dark"] .stat-card:nth-child(3):hover .icon {
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.7);
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.95) 0%, rgba(0, 242, 254, 0.95) 100%);
}

/* 暗黑模式下的液态玻璃表格 */
[data-theme="dark"] .table,
[data-theme="dark"] .table-bordered,
[data-theme="dark"] .table-striped,
[data-theme="dark"] .table-hover,
[data-theme="dark"] .table > thead,
[data-theme="dark"] .table > tbody,
[data-theme="dark"] .table > tfoot,
[data-theme="dark"] .table-bordered > thead > tr > th,
[data-theme="dark"] .table-bordered > tbody > tr > td {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #fff !important;
    border-color: var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .table thead th {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    color: #ffffff !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

[data-theme="dark"] .table thead th::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.02) !important;
}

[data-theme="dark"] .table-hover > tbody > tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .table tbody td {
    border-color: var(--glass-border) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

[data-theme="dark"] .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* 暗黑模式下的液态玻璃表单 */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-color: var(--glass-border) !important;
    color: #ffffff !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25) !important;
}

[data-theme="dark"] .form-label {
    color: #ffffff !important;
}

/* 暗黑模式下的液态玻璃下拉菜单 */
[data-theme="dark"] .dropdown-menu {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-color: var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
}

[data-theme="dark"] .dropdown-item {
    color: #ffffff !important;
}

[data-theme="dark"] .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #74b9ff !important;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 暗黑模式下的液态玻璃模态框 */
[data-theme="dark"] .modal-content {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border-color: var(--glass-border) !important;
    color: #ffffff !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: #ffffff !important;
    border-bottom-color: var(--glass-border) !important;
}

[data-theme="dark"] .modal-footer {
    border-top-color: var(--glass-border) !important;
    background: rgba(255, 255, 255, 0.02);
}

/* 暗黑模式下的液态玻璃页脚 */
[data-theme="dark"] .footer {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top-color: var(--glass-border) !important;
    color: #bdc3c7 !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .footer::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
}

[data-theme="dark"] .footer::after {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
}

/* 暗黑模式下的液态玻璃空状态 */
[data-theme="dark"] .empty-state {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    color: #95a5a6 !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .empty-state h4 {
    color: #ffffff !important;
}

/* 暗黑模式下的液态玻璃滚动条 */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--gradient-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary) !important;
}

/* 暗黑模式下的液态玻璃工具提示 */
[data-theme="dark"] .tooltip-inner {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #ffffff !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--glass-bg) !important;
}

[data-theme="dark"] .tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--glass-bg) !important;
}

[data-theme="dark"] .tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--glass-bg) !important;
}

[data-theme="dark"] .tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--glass-bg) !important;
}

/* 暗黑模式下的液态玻璃徽章 */
[data-theme="dark"] .badge.bg-secondary {
    background: rgba(108, 117, 125, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(108, 117, 125, 0.4);
}

[data-theme="dark"] .badge.bg-light {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .badge.bg-primary {
    background: rgba(0, 122, 255, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 122, 255, 0.4);
}

[data-theme="dark"] .badge.bg-success {
    background: rgba(52, 199, 89, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(52, 199, 89, 0.4);
}

[data-theme="dark"] .badge.bg-danger {
    background: rgba(255, 59, 48, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 59, 48, 0.4);
}

[data-theme="dark"] .badge.bg-warning {
    background: rgba(255, 149, 0, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 149, 0, 0.4);
}

[data-theme="dark"] .badge.bg-info {
    background: rgba(90, 200, 250, 0.3) !important;
    color: #ffffff !important;
    border: 1px solid rgba(90, 200, 250, 0.4);
}

/* 暗黑模式下的液态玻璃进度条 */
[data-theme="dark"] .progress {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
}

[data-theme="dark"] .progress-bar {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .progress-bar.bg-success {
    background: rgba(52, 199, 89, 0.4) !important;
    border-color: rgba(52, 199, 89, 0.5) !important;
}

[data-theme="dark"] .progress-bar.bg-danger {
    background: rgba(255, 59, 48, 0.4) !important;
    border-color: rgba(255, 59, 48, 0.5) !important;
}

[data-theme="dark"] .progress-bar.bg-warning {
    background: rgba(255, 149, 0, 0.4) !important;
    border-color: rgba(255, 149, 0, 0.5) !important;
}

[data-theme="dark"] .progress-bar.bg-info {
    background: rgba(90, 200, 250, 0.4) !important;
    border-color: rgba(90, 200, 250, 0.5) !important;
}

[data-theme="dark"] .progress-bar.bg-primary {
    background: rgba(0, 122, 255, 0.4) !important;
    border-color: rgba(0, 122, 255, 0.5) !important;
}

/* 暗黑模式下的液态玻璃警告框 */
[data-theme="dark"] .alert {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-color: var(--glass-border) !important;
    color: #ffffff !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .alert-info {
    background: rgba(23, 162, 184, 0.2) !important;
    border-color: #17a2b8 !important;
}

[data-theme="dark"] .alert-warning {
    background: rgba(243, 156, 18, 0.2) !important;
    border-color: #f39c12 !important;
}

[data-theme="dark"] .alert-danger {
    background: rgba(231, 76, 60, 0.2) !important;
    border-color: #e74c3c !important;
}

[data-theme="dark"] .alert-success {
    background: rgba(39, 174, 96, 0.2) !important;
    border-color: #27ae60 !important;
}

/* 暗黑模式下的液态玻璃按钮 */
[data-theme="dark"] .btn, 
[data-theme="dark"] .btn-primary, 
[data-theme="dark"] .btn-success, 
[data-theme="dark"] .btn-warning, 
[data-theme="dark"] .btn-danger, 
[data-theme="dark"] .btn-info {
    background: var(--glass-bg) !important;
    color: #ffffff !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

[data-theme="dark"] .btn-primary { 
    color: #ffffff !important;
}

[data-theme="dark"] .btn-success { 
    color: #ffffff !important;
}

[data-theme="dark"] .btn-warning { 
    color: #ffffff !important;
}

[data-theme="dark"] .btn-danger { 
    color: #ffffff !important;
}

[data-theme="dark"] .btn-info { 
    color: #ffffff !important;
}

[data-theme="dark"] .btn:disabled, 
[data-theme="dark"] .btn.disabled {
    background: rgba(123, 138, 153, 0.4) !important;
    color: #f0f0f0 !important;
    opacity: 0.8 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .form-label, 
[data-theme="dark"] label {
    color: #f2f2f2 !important;
}

/* 暗黑模式下的液态玻璃机器人卡片 */
[data-theme="dark"] .robot-card,
[data-theme="dark"] .robot-card * {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #fff !important;
    border-color: var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .robot-card-body {
    color: #fff !important;
}

[data-theme="dark"] .robot-card .info-label {
    color: #bdc3c7 !important;
}

[data-theme="dark"] .robot-card .info-value {
    color: #fff !important;
}

[data-theme="dark"] .robot-card .info-item i {
    color: #bdc3c7 !important;
}

[data-theme="dark"] .robot-card-footer {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

[data-theme="dark"] .robot-card input,
[data-theme="dark"] .robot-card [disabled] {
    background: var(--glass-bg) !important;
    color: #fff !important;
    border-color: var(--glass-border) !important;
    opacity: 1 !important;
}

/* 暗黑模式下的液态玻璃链接 */
[data-theme="dark"] a {
    color: #74b9ff !important;
}

[data-theme="dark"] a:hover {
    color: #5dade2 !important;
}

/* 暗黑模式下的液态玻璃代码块 */
[data-theme="dark"] code {
    background: var(--glass-bg) !important;
    color: #e74c3c !important;
    border: 1px solid var(--glass-border);
}

[data-theme="dark"] pre {
    background: var(--glass-bg) !important;
    color: #ffffff !important;
    border-color: var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
}

/* 暗黑模式下的液态玻璃分割线 */
[data-theme="dark"] hr {
    border-color: var(--glass-border) !important;
}

/* 暗黑模式下的液态玻璃Bootstrap颜色类适配 */
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-white {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border);
}

[data-theme="dark"] .bg-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: #fff !important;
}

[data-theme="dark"] .bg-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
    color: #fff !important;
}

[data-theme="dark"] .bg-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: #fff !important;
}

[data-theme="dark"] .bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    color: #fff !important;
}

[data-theme="dark"] .bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: #fff !important;
}

[data-theme="dark"] .text-danger {
    color: #ff7675 !important;
}

[data-theme="dark"] .text-success {
    color: #2ecc71 !important;
}

[data-theme="dark"] .text-warning {
    color: #f6e58d !important;
}

[data-theme="dark"] .text-info {
    color: #74b9ff !important;
}

[data-theme="dark"] .text-primary {
    color: #74b9ff !important;
}

[data-theme="dark"] .text-secondary {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-dark {
    color: #fff !important;
}

[data-theme="dark"] .text-white {
    color: #fff !important;
}

/* 暗黑模式下的液态玻璃日志输出 */
[data-theme="dark"] .custom-pre {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .custom-bg {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .text-primary, 
[data-theme="dark"] .text-info, 
[data-theme="dark"] a, 
[data-theme="dark"] a:visited, 
[data-theme="dark"] a:active {
    color: #fff !important;
}

[data-theme="dark"] pre code, 
[data-theme="dark"] .custom-pre code {
    color: #fff !important;
}

[data-theme="dark"] .modal .table, 
[data-theme="dark"] .modal .table td, 
[data-theme="dark"] .modal .table th {
    color: #fff !important;
}

[data-theme="dark"] #logDetailsModal .table,
[data-theme="dark"] #logDetailsModal .table * {
    color: #fff !important;
    background: transparent !important;
}

[data-theme="dark"] #logDetailsModal .badge {
    background: rgba(68, 68, 68, 0.3) !important;
    color: #fff !important;
    border: 1px solid rgba(136, 136, 136, 0.4) !important;
}

/* 日志输出、pre、弹窗等内容区域自定义适配 */
.custom-pre {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary) !important;
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.4;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.custom-bg {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* 默认模式下的文字颜色 */
.text-primary, .text-info, a, a:visited, a:active {
    color: #1C1C1E !important;
}

pre code, .custom-pre code {
    color: #1C1C1E !important;
}

.modal .table, .modal .table td, .modal .table th {
    color: #1C1C1E !important;
}

#logDetailsModal .table, #logDetailsModal .table td, #logDetailsModal .table th {
    color: #1C1C1E !important;
}

#logDetailsModal .badge {
    background: rgba(224, 224, 224, 0.3) !important;
    color: #1C1C1E !important;
    border: 1px solid rgba(189, 189, 189, 0.4) !important;
    font-weight: 600;
}

/* 液态玻璃机器人卡片样式 */
.robot-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.robot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

.robot-card-body {
    color: #1C1C1E;
    padding: 1.5rem;
}

.robot-card .info-label {
    color: #6C6C70;
    font-weight: 500;
    font-size: 0.9rem;
}

.robot-card .info-value {
    color: #1C1C1E;
    font-weight: 600;
    font-size: 1rem;
}

.robot-card .info-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.robot-card-footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-top: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
}

.robot-card input,
.robot-card [disabled] {
    background: var(--glass-bg);
    color: #1C1C1E;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

/* 液态玻璃表格边框样式 */
.table-bordered {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: #1C1C1E !important;
    border-color: var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
}

.table-bordered th,
.table-bordered td {
    border-color: var(--glass-border) !important;
}

/* 增强的液态玻璃下拉菜单效果 */
.dropdown-menu {
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    padding: 0.5rem 0;
    z-index: 1055 !important;
    animation: fadeInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu.show {
    z-index: 9999 !important;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    color: #1C1C1E;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    color: var(--primary-color);
}

.dropdown-divider {
    border-color: var(--glass-border);
    margin: 0.5rem 0;
}

/* 增强的液态玻璃表单选择器 */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

[data-theme="dark"] .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

/* 液态玻璃分割线 */
hr, .dropdown-divider {
    border-color: var(--glass-border);
    opacity: 0.6;
}

/* 液态玻璃输入组 */
.input-group {
    position: relative;
}

.input-group .form-control,
.input-group .form-select {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    color: #1C1C1E;
    transition: var(--transition);
}

.input-group .form-control:focus,
.input-group .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.input-group-text {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    color: #1C1C1E;
    border-radius: var(--border-radius-sm);
}

/* 液态玻璃文本区域 */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* 液态玻璃文件输入 */
.form-control[type="file"] {
    padding: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 2px dashed var(--glass-border);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.form-control[type="file"]:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
}

.form-control[type="file"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
    background: rgba(255, 255, 255, 0.3);
}

/* 液态玻璃复选框和单选框 */
.form-check-input {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    transition: var(--transition);
}

.form-check-input:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
}

/* 液态玻璃开关 */
.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: right center;
}

/* 液态玻璃范围滑块 */
.form-range {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: 1rem;
    height: 0.5rem;
    border: 1px solid var(--glass-border);
}

.form-range::-webkit-slider-thumb {
    background: var(--gradient-primary);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.form-range::-webkit-slider-thumb:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* 液态玻璃面包屑导航 */
.breadcrumb {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    box-shadow: var(--glass-shadow);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6C6C70;
}

/* 液态玻璃分页 */
.pagination {
    gap: 0.25rem;
}

.page-link {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    color: #1C1C1E;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    padding: 0.75rem 1rem;
}

.page-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border);
    color: #6C6C70;
    opacity: 0.6;
}

/* 液态玻璃列表组 */
.list-group {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.list-group-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    color: #1C1C1E;
    transition: var(--transition);
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.list-group-item.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

/* 液态玻璃手风琴 */
.accordion {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.accordion-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.accordion-button {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: none;
    color: #1C1C1E;
    transition: var(--transition);
}

.accordion-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.25);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

/* 液态玻璃标签页 */
.nav-tabs {
    border-bottom: 1px solid var(--glass-border);
    gap: 0.25rem;
}

.nav-tabs .nav-link {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    color: #1C1C1E;
    transition: var(--transition);
    margin-bottom: -1px;
}

.nav-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.tab-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
}

/* 液态玻璃工具提示增强 */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: #1C1C1E;
    box-shadow: var(--glass-shadow);
    padding: 0.5rem 0.75rem;
    max-width: 300px;
}

/* 液态玻璃弹出框 */
.popover {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

.popover-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: 1px solid var(--glass-border);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.popover-body {
    color: #1C1C1E;
}

/* 液态玻璃轮播图 */
.carousel {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.carousel-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.carousel-control-prev,
.carousel-control-next {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: auto 1rem;
}

.carousel-indicators {
    bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.carousel-indicators .active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* 关闭按钮 */
.btn-close {
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") center/1em auto no-repeat;
    width: 32px;
    height: 32px;
    transition: var(--transition);
    border: none;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 0.75;
}

[data-theme="dark"] .btn-close {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
}

/* 液态玻璃加载状态 */
.spinner-border {
    border: 2px solid var(--glass-border);
    border-top-color: var(--primary-color);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

.spinner-grow {
    background: var(--primary-color);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

/* 液态玻璃占位符 */
.placeholder {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-radius: var(--border-radius-sm);
    animation: placeholder-glow 2s ease-in-out infinite alternate;
}

@keyframes placeholder-glow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.8;
    }
}

/* 液态玻璃代码块增强 */
pre {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    color: #1C1C1E;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    line-height: 1.6;
    overflow-x: auto;
    box-shadow: var(--glass-shadow);
}

code {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    color: var(--primary-color);
    font-size: 0.9em;
}

/* 液态玻璃引用块 */
blockquote {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: #1C1C1E;
    font-style: italic;
    box-shadow: var(--glass-shadow);
}

/* 液态玻璃表格增强 */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

/* 液态玻璃卡片组 */
.card-group {
    gap: 1rem;
}

.card-group > .card {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* 液态玻璃网格系统增强 */
.row {
    margin: 0 -0.5rem;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-auto, .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
    padding: 0 0.5rem;
}

/* 液态玻璃响应式工具类 */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-grid {
    display: grid !important;
}

.d-table {
    display: table !important;
}

.d-table-row {
    display: table-row !important;
}

.d-table-cell {
    display: table-cell !important;
}

/* 液态玻璃间距工具类增强 */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

/* 液态玻璃文本工具类 */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.font-weight-bold { font-weight: 700 !important; }
.font-weight-bolder { font-weight: 900 !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-light { font-weight: 300 !important; }

.font-italic { font-style: italic !important; }

/* 液态玻璃边框工具类 */
.border { border: 1px solid var(--glass-border) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--glass-border) !important; }
.border-end { border-right: 1px solid var(--glass-border) !important; }
.border-bottom { border-bottom: 1px solid var(--glass-border) !important; }
.border-start { border-left: 1px solid var(--glass-border) !important; }

.rounded { border-radius: var(--border-radius-sm) !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: 0.2rem !important; }
.rounded-2 { border-radius: 0.375rem !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }

/* 液态玻璃阴影工具类 */
.shadow { box-shadow: var(--shadow) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

/* 液态玻璃位置工具类 */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.top-100 { top: 100% !important; }

.bottom-0 { bottom: 0 !important; }
.bottom-50 { bottom: 50% !important; }
.bottom-100 { bottom: 100% !important; }

.start-0 { left: 0 !important; }
.start-50 { left: 50% !important; }
.start-100 { left: 100% !important; }

.end-0 { right: 0 !important; }
.end-50 { right: 50% !important; }
.end-100 { right: 100% !important; }

.translate-middle { transform: translate(-50%, -50%) !important; }
.translate-middle-x { transform: translateX(-50%) !important; }
.translate-middle-y { transform: translateY(-50%) !important; }

/* 液态玻璃可见性工具类 */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* 液态玻璃溢出工具类 */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }

/* 液态玻璃用户选择工具类 */
.user-select-all { user-select: all !important; }
.user-select-auto { user-select: auto !important; }
.user-select-none { user-select: none !important; }

/* 液态玻璃指针事件工具类 */
.pe-auto { pointer-events: auto !important; }
.pe-none { pointer-events: none !important; }

/* 液态玻璃光标工具类 */
.cursor-auto { cursor: auto !important; }
.cursor-pointer { cursor: pointer !important; }
.cursor-move { cursor: move !important; }
.cursor-not-allowed { cursor: not-allowed !important; }

/* 液态玻璃清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 液态玻璃链接样式增强 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 按钮和按钮链接样式 - 去掉下划线 */
.btn, 
.btn:hover,
.btn:focus,
.btn:active,
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
.nav-link,
.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.dropdown-item,
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.page-link,
.page-link:hover,
.page-link:focus,
.page-link:active,
.list-group-item,
.list-group-item:hover,
.list-group-item:focus,
.list-group-item:active,
.accordion-button,
.accordion-button:hover,
.accordion-button:focus,
.accordion-button:active,
.nav-tabs .nav-link,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:active {
    text-decoration: none !important;
}

/* 液态玻璃图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
}

/* 液态玻璃图标样式 */
.fas, .far, .fab, .fa {
    transition: var(--transition);
}

/* 液态玻璃动画增强 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* 液态玻璃动画类 */
.animate__fadeIn { animation: fadeIn 0.6s ease; }
.animate__slideInUp { animation: slideInUp 0.6s ease; }
.animate__slideInDown { animation: slideInDown 0.6s ease; }
.animate__slideInLeft { animation: slideInLeft 0.6s ease; }
.animate__slideInRight { animation: slideInRight 0.6s ease; }
.animate__zoomIn { animation: zoomIn 0.6s ease; }
.animate__bounce { animation: bounce 1s ease; }

/* 液态玻璃打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card, .table, .modal-content {
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}